package com.dyw.spzx.model.entity.product;

import com.dyw.spzx.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Schema(description = "分类")
@Data
public class CategoryBrand extends BaseEntity {


    private static final long serialVersionUID = 1L;
    @Schema(description = "品牌 ID")
    private Long brandId;
    @Schema(description = "类别ID")
    private Long categoryId;

    // 扩展的属性用来封装前端所需要的数据
    @Schema(description = "类别名称")
    private String categoryName;
    @Schema(description = "品牌名称")
    private String brandName;
    @Schema(description = "商标")
    private String logo;

}
